# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-fallback-wolfram-alpha
pkgver=20.02_git20200409
pkgrel=0
_commit="991e2cbdb99d44580ea94389e9d79a42b806ff2a"
pkgdesc="Mycroft AI official Wolfram Alpha Skill - used as a fallback if an Intent is not matched"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests py3-wolframalpha py3-mtranslate"
source="https://github.com/mycroftai/fallback-wolfram-alpha/archive/$_commit/fallback-wolfram-alpha-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/fallback-wolfram-alpha-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/fallback-wolfram-alpha.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/fallback-wolfram-alpha.mycroftai/
}

sha512sums="d31575552197a6d371c91a2c390b69fef96ae51011899d5efd110901ab1fca3fad2de406f0cdadd1b318fedf0311b9320c9b668aea15f6dd421e4047975dab0e  fallback-wolfram-alpha-991e2cbdb99d44580ea94389e9d79a42b806ff2a.tar.gz"
